﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace armsim
{

    public class ImmDPInstruction : DataProcessingInstruction
    {

        public uint Rotation { get; protected set; }
        public uint Immediate { get; protected set; }

        public ImmDPInstruction(uint instruction)
            : base(instruction)
        {
            this.Rotation = Memory.ExtractBits(instruction, 8, 11);
            this.Instruction = Memory.ExtractBits(instruction, 0, 7);
        }
        /*
        public override void Execute()
        {
            switch (this.Opcode)
            {
                // Mov instruction
                case 0xdU:
                    ExecuteMov();
                    break;

                // . . . 
            }
        }
        */
        private void ExecuteMov()
        {
            

            
        }

   
    }
}
